package com.quanyan.runningriding.entity.vo.run.req;

import com.quanyan.common.validation.base.Insert;
import com.quanyan.common.validation.base.Update;

import javax.validation.constraints.NotNull;

/**
 * RunVideoSecondType
 *
 * @author Tu Chun
 * @date 2016/9/24
 */
public class RunVideoSecondType {
    @NotNull(groups = {Insert.class, Update.class})
    private Byte secondType;
    @NotNull(groups = {Insert.class,Update.class})
    private Byte firstType;

    private String name;

    private String typeDescribe;

    private String remark;
    /**
     * 操作类型 1添加 2修改
     */
    @NotNull(groups = {Insert.class, Update.class})
    private Byte operationType;

    public Byte getOperationType() {
        return operationType;
    }

    public void setOperationType(Byte operationType) {
        this.operationType = operationType;
    }

    public Byte getSecondType() {
        return secondType;
    }

    public void setSecondType(Byte secondType) {
        this.secondType = secondType;
    }

    public Byte getFirstType() {
        return firstType;
    }

    public void setFirstType(Byte firstType) {
        this.firstType = firstType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTypeDescribe() {
        return typeDescribe;
    }

    public void setTypeDescribe(String typeDescribe) {
        this.typeDescribe = typeDescribe;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
